package org.zizi.db.tool;

import java.lang.reflect.Field;

public class BeanFieldReader
{
	public static Field getField(Class<?> type, String name)
	{
		try
		{
			return type.getDeclaredField(name);
		}
		catch (SecurityException e)
		{
			return null;
		}
		catch (NoSuchFieldException e)
		{
			return null;
		}
	}
}
